/*
 * File Name:               UIAutoRotation.cs
 * 
 * Description:             普通类
 * Author:                  yuhaoyu <158521902@qq.com>
 * Create Date:             2017/03/07
 */

using UnityEngine;

public class UIAutoRotation : MonoBehaviour
{
    public Vector3 OffsetRotationPerFrame;

    void Update()
    {
        transform.rotation *= Quaternion.Euler(OffsetRotationPerFrame);
    }
}
